package com.ruoyi.shenji.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.shenji.domain.SysBhq;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.web.bind.annotation.PathVariable;

@Mapper
public interface SysBhqMapper extends BaseMapper<SysBhq> {
    @Select("select * from bhq where role_name = '${roleName}'")
    SysBhq getByRoleName(@Param("roleName") String roleName);
}
